// 员工页面相关路由规则
import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout, // 一级路由
  children: [
    {
    // 二级路由
      path: '',
      name: 'Employees',
      component: () => import('@/views/employees/index'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'details/:id',
      name: 'Details',
      component: () => import('@/views/employees/details'),
      hidden: true // 不显示二级菜单
    }
  ]
}
